//package com.xunk.equipment.websocket;
//
//import com.xunk.equipment.config.ZhijiaConfig;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.ApplicationArguments;
//import org.springframework.boot.ApplicationRunner;
//import org.springframework.stereotype.Component;
//
///**
// * @ProjectName: HIM
// * @Package: com.xunk.equipment.websocket
// * @ClassName: DemoRunner
// * @Author: yangwendong
// * @Description:
// * @Date: 2021/6/23 16:18
// * @Version: 1.0
// */
//@Component
//@Slf4j
//public class DemoRunner implements ApplicationRunner {
//
//    @Autowired
//    private ZhijiaConfig config;
//
//    @Override
//    public void run(ApplicationArguments args) throws Exception {
//        log.info("========== {}", "启动ssss");
//        for (int i = 0; i < 5; i++) {
//            DemoSocketClient client = new DemoSocketClient();
//            client.setConfig(config);
//            client.buildConnectionAndSubscribeMsg();
//        }
//    }
//}
